package com.fzl.springblogdemo.service.impl;

import com.fzl.springblogdemo.pojo.request.UserLoginRequest;
import com.fzl.springblogdemo.pojo.request.UserRegisterRequest;
import com.fzl.springblogdemo.pojo.response.UserInfoResponse;
import com.fzl.springblogdemo.pojo.response.UserLoginResponse;

public interface UserService {
    UserLoginResponse checkPassword(UserLoginRequest userLoginRequest);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfo(Integer blogId);

    Boolean register(UserRegisterRequest userRegisterRequest);
}
